﻿using System.Windows;
using System.Windows.Controls;
using System.Windows.Input;
using EzDesk.Generic.WPF;

namespace EzDesk.DesktopClient.UtilityView.View
{
    /// <summary>
    /// Interaction logic for SideTitlePanelView.xaml
    /// </summary>
    public partial class SideTitlePanelView : UserControl
    {
        public SideTitlePanelView()
        {
            InitializeComponent();
        }

        private void MinimizeBtn_Click(object sender, RoutedEventArgs e)
        {
            this.MinimizeCurrentWindow();
        }

        private void CloseBtn_Click(object sender, RoutedEventArgs e)
        {
            this.MinimizeCurrentWindow();
        }

        private void UserControl_MouseLeftButtonDown(object sender, MouseButtonEventArgs e)
        {
            this.MoveCurrentWindow();
        }
    }
}
